package com.fhz.day004.contract

import com.fhz.day004.entity.Data
import com.fhz.day004.entity.Food
import com.fhz.day004.model.IModel
import com.fhz.day004.view.IView
import io.reactivex.Observer

/**
 * 时间:2021/10/15
 * @author msfeng
 * 简述: TODO
 */
interface FoodContract {
    interface IFoodModel : IModel{
        //数据
        fun getData(observer: Observer<Food>)
    }

    interface IFoodView : IView {
        //展示
        fun initAdapter(foods:MutableList<Data>)
    }

}